<?PHP $this->_extends('_layouts/manager_layout');?>
<?PHP $this->_block('contents');?>
<style>
.tree ul{}
.tree li{padding:1px 20px; width:200px}
</style>
<h2 class="aa1">语言 编辑  <?=$language->title?> </h2>
<form action="" method="post" >
<div>
	<span>名:</span> <input type="text" name="title" value="<?=$language->title?>"  size="40" /> <br />
	<?php /* if($language->id):?>
	<span>状态 :</span> 
		<?php if($language->status&1):?>
		 	正在使用,  <a href="<?=url('/languagestatusmodify',array('id'=>$language['id'],'status'=>'0'))?>" style="margin-left:20px" onclick="return confirm('确定停用吗')">Stop</a>
		 <?php else:?>
			未使用, <a href="<?=url('/languagestatusmodify',array('id'=>$language['id'],'status'=>'1'))?>" style="margin-left:20px" onclick="return confirm('确定启用吗')">Install</a>
		<?php endif;?>
	<?php endif;  */?>
</div>

<table id='config'>
	<tr>
		<th> 语言 </th>
		<th width="120"> <?=$language->language?> </th>
	</tr>
	<tr>
		<th>设为主要</th>
		<td>
		<?php if(isset($primary)&&$primary==$language->language):?>
			(已经设为主要 )
		<?php else:?>
			<input type="checkbox" name="primary" value="1"/>
		<?php endif;?>
		</td>
	</tr>
</table>

<input type="submit" value="   确定   "  />  
<a href="<?=url('/languages')?>" >返回  List</a>

<input type="hidden" value="<?=$language->id?>" name="id" />
</form>
<br style="clear:both">
<?PHP $this->_endblock();?>

